/////////////////////////////////////////////////////////////////////
//
// OposCAT.h
//
//   CAT header file for OPOS Applications.
//
// Modification history
// ------------------------------------------------------------------
// 1998-06-01 OPOS Release 1.4                                OPOS-J
// 2000-09-24 OPOS Release 1.5                                   BKS
//   Added the following constants:
//     CAT_PAYMENT_DEBIT, CAT_MEDIA_...
// 2005-04-29 OPOS Release 1.9                                   CRM
//   Added constants to PaymentCondition, PaymentMedia,
//     TransactionType, and ResultCodeExtended.
//   Added LogStatus constants.
// 2011-04-07                                                    EPO
//   Converted to Pascal by Eric Orilla
//
/////////////////////////////////////////////////////////////////////

unit oposcat;

interface

const

/////////////////////////////////////////////////////////////////////
// "CapDailyLog" Property and "AccessDailyLog" Type Parameter Constants
/////////////////////////////////////////////////////////////////////

  CAT_DL_NONE                        : Longint     = 0;
  CAT_DL_REPORTING                   : Longint     = 1;
  CAT_DL_SETTLEMENT                  : Longint     = 2;
  CAT_DL_REPORTING_SETTLEMENT        : Longint     = 3;


/////////////////////////////////////////////////////////////////////
// "LogStatus" Property Constants (added in 1.9)
/////////////////////////////////////////////////////////////////////

  CAT_LOGSTATUS_OK                   : Longint     = 1;
  CAT_LOGSTATUS_NEARFULL             : Longint     = 2;
  CAT_LOGSTATUS_FULL                 : Longint     = 3;


/////////////////////////////////////////////////////////////////////
// "PaymentCondition" Property Constants
/////////////////////////////////////////////////////////////////////

  CAT_PAYMENT_LUMP                   : Longint     =  10;
  CAT_PAYMENT_BONUS_1                : Longint     =  21;
  CAT_PAYMENT_BONUS_2                : Longint     =  22;
  CAT_PAYMENT_BONUS_3                : Longint     =  23;
  CAT_PAYMENT_BONUS_4                : Longint     =  24;
  CAT_PAYMENT_BONUS_5                : Longint     =  25;
  CAT_PAYMENT_INSTALLMENT_1          : Longint     =  61;
  CAT_PAYMENT_INSTALLMENT_2          : Longint     =  62;
  CAT_PAYMENT_INSTALLMENT_3          : Longint     =  63;
  CAT_PAYMENT_BONUS_COMBINATION_1    : Longint     =  31;
  CAT_PAYMENT_BONUS_COMBINATION_2    : Longint     =  32;
  CAT_PAYMENT_BONUS_COMBINATION_3    : Longint     =  33;
  CAT_PAYMENT_BONUS_COMBINATION_4    : Longint     =  34;
  CAT_PAYMENT_REVOLVING              : Longint     =  80;
  CAT_PAYMENT_DEBIT                  : Longint     = 110; // (added in 1.5)
  CAT_PAYMENT_ELECTRONIC_MONEY       : Longint     = 111; // (added in 1.9)


/////////////////////////////////////////////////////////////////////
// "PaymentMedia" Property Constants (added in 1.5)
/////////////////////////////////////////////////////////////////////

  CAT_MEDIA_UNSPECIFIED              : Longint     = 0;
  CAT_MEDIA_NONDEFINE                : Longint     = 0; // (deprecated)
  CAT_MEDIA_CREDIT                   : Longint     = 1;
  CAT_MEDIA_DEBIT                    : Longint     = 2;
  CAT_MEDIA_ELECTRONIC_MONEY         : Longint     = 3; // (added in 1.9)


/////////////////////////////////////////////////////////////////////
// "TransactionType" Property Constants
/////////////////////////////////////////////////////////////////////

  CAT_TRANSACTION_SALES              : Longint     = 10;
  CAT_TRANSACTION_VOID               : Longint     = 20;
  CAT_TRANSACTION_REFUND             : Longint     = 21;
  CAT_TRANSACTION_VOIDPRESALES       : Longint     = 29;
  CAT_TRANSACTION_COMPLETION         : Longint     = 30;
  CAT_TRANSACTION_PRESALES           : Longint     = 40;
  CAT_TRANSACTION_CHECKCARD          : Longint     = 41; // (deprecated?)
  CAT_TRANSACTION_CASHDEPOSIT        : Longint     = 50; // (added in 1.9)


/////////////////////////////////////////////////////////////////////
// "ResultCodeExtended" Property Constants
/////////////////////////////////////////////////////////////////////

  OPOS_ECAT_CENTERERROR              : Longint     =  01;
  OPOS_ECAT_COMMANDERROR             : Longint     =  90;
  OPOS_ECAT_RESET                    : Longint     =  91;
  OPOS_ECAT_COMMUNICATIONERROR       : Longint     =  92;
  OPOS_ECAT_DAILYLOGOVERFLOW         : Longint     = 200;
  OPOS_ECAT_DEFICIENT                : Longint     = 201; // (added in 1.9)
  OPOS_ECAT_OVERDEPOSIT              : Longint     = 202; // (added in 1.9)

implementation

end.
